<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>简历平台</title>
    <style>
    #previewWrapper .preview_content {
        padding: 0px 20px 2px 20px;
    }
    
    .preview_content body {
        margin: 10px;
        padding: 10px;
    }
    
    pre {
        font: inherit;
        white-space: pre-wrap;
    }
    
    .preview_content a {
        margin: 0;
        padding: 0;
    }
    
    .preview_content img {
        padding-bottom: 0;
        margin: 0;
    }
    
    .preview_content span {
        font-size: 12px;
        margin: 0;
    }
    
    .preview_content h1 {
        font-size: 95%;
        margin: 0;
        text-overflow: clip;
        line-height: 1.15em;
    }
    
    .preview_content h2 {
        font-size: 100%;
        font-weight: bold;
    }
    
    .preview_content p {
        font-size: 100%;
        margin: 0;
        text-align: left;
    }
    
    .preview_content ul {
        overflow: hidden;
        text-align: left;
    }
    
    .preview_content ul li {
        float: left;
        line-height: 2;
        list-style-type: none;
    }
    
    .preview_content .ul_list {
        overflow: hidden;
        text-align: left;
        padding-left: 5%;
    }
    
    .preview_content .ul_list li {
        float: left;
        line-height: 2;
        list-style-type: none;
    }
    
    .preview_content .divmain {
        color: #333;
        font-family: Microsoft YaHei;
        font-size: 14px/22px;
        word-wrap: break-word;
        margin: 0px auto;
        width: 680px;
        height: auto;
        padding: 20px;
    }
    
    .preview_content table {
        table-layout: fixed;
        margin: 2% auto;
        padding: 0;
        width: 100%;
        background-color: transparent;
    }

    .preview_content thead {
        text-align: left;
        padding: 5% 0 8px 20px;
        vertical-align: top;
    }
    
    .preview_content tbody {
        padding-left: 8%;
        vertical-align: top;
        line-height: 140%;
        padding-left: 5%;
    }
    
    .preview_content th {
        text-align: left;
        padding-left: 3%;
    }
    
    .preview_content td {
        text-align: left;
        padding-left: 3%;
    }
    
    .preview_content .box {
        padding: 5%;
        width: 33%;
        float: left;
    }
    
    .preview_content .cell {
        min-height: 22pt;
        font-size: 12pt;
        color: #FFF;
        background-color: transparent;
        font-weight: bold;
        font-style: normal;
        text-decoration: none;
        line-height: 1.75;
        margin: 0;
    }
    
    .preview_content .border_box {
        border-color: #fff;
        vertical-align: middle;
        border-top-style: none;
        border-bottom-style: none;
        border-right-style: none;
        border-left-style: none;
        box-sizing: border-box;
        -ms-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        background-color: transparent;
        -moz-border-radius: 5px;
        /* Gecko browsers */
        -webkit-border-radius: 5px;
        /* Webkit browsers */
        border-radius: 5px;
        /* W3C syntax */
    }
    
    .preview_content table {
        position: relative;
        clear: left;
    }
    
    .preview_content .redbigimg img {
        padding-bottom: 10px;
        padding-left: 14.5px;
    }
    
    .preview_content .redheaderbg {
        background: url("${contextPath}/resources/img/public/template_headerbg.png") no-repeat;
        margin-left: -6%;
    }
    
    .preview_content .redphone {
        padding: 0;
    }
    
    .preview_content li {
        list-style: none;
    }
    
    .border_box_date {
        float: right;
        padding-right: 23px;
    }
    
    .preview_content .top_border {
        border-top: 3px solid;
        border-color: #f75a53;
        border-radius: 0;
    }
    
    .preview_content .mar_top {
        margin-top: 40px;
    }
    
    .preview_content .border_date_box {
        margin-top: 11px;
    }
    
    .preview_content .line_box {
        height: 100%;
        position: absolute;
        left: 67px;
        top: 18px;
    }
    
    .preview_content .line {
        width: 0;
        height: 100%;
        border-left: 1px dashed #938953;
    }
    
    .preview_content .divmain {
        -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
        -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    }
    </style>
</head>
<#import "enums.ftl" as enums>
<body class="preview_content">
    <div class="divmain" style="position: relative">
        <div style="padding-left:4%;width:100%;">
            <div class="box border_box redheaderbg" style="width:40%;height:150px;">
                <h1 style="color: #fff;font-size:30px;text-align:center;align:middle; line-height: 60px;">${resume.seeker.name}</h1>
            </div>
            <div class="box border_box redphone" style="width:18%;padding-top:6%;margin-left: 10px;overflow:hidden; text-overflow:ellipsis; white-space:nowrap; word-wrap:normal;">
                <p style="font-size: 14px;text-align:left;width:122px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; word-wrap:normal;display: inline-block;vertical-align: bottom;">
                    <img src="${contextPath}/resources/img/public/template_age.png" width="15px"/><span> ${resume.seeker.school}</span>
                    <br /><br />
                    <img src="${contextPath}/resources/img/public/template_mobile.png" width="15px"/> ${resume.seeker.phone}
                    <br />
                </p>
            </div>
            <div class="box border_box redphone" style="width:25%;padding-top:6%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; word-wrap:normal;">
                <p style="font-size: 14px;width:170px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; word-wrap:normal;display: inline-block;vertical-align: bottom;">
                    <img src="${contextPath}/resources/img/public/template_city.png" width="15px"/> ${resume.seeker.city}
                    <br /><br />
                    <img src="${contextPath}/resources/img/public/template_mail.png" width="15px"/>
                    <span style="font-size: 14px">${resume.seeker.mail}</span>
                    <br />
                </p>
            </div>
            <div class="box border_box" style="width:16%;height:auto;text-align:center;padding:0;">
                <img src="${contextPath}/${resume.seeker.headpic}" alt="" width="110px" height="110px" style="margin-top:15px;"/>
            </div>
        </div>
        <table>
            <tbody>
                <tr class="line_box"><td class="line_box"> <div class="line"></div></td></tr>
                <tr><td>
                    <div class="box border_box" style="width:22%;padding:0 0 5%;height:auto;background-color:transparent ">
                        <div class="cell border_box redbigimg" style="font-size: 20px;color: #FA8072;">期望工作
                            <img src="${contextPath}/resources/img/public/template_georama.png" align="middle" />
                        </div>
                    </div>
                    <div class="box border_box top_border" style="width:78%;;height:auto;padding: 2%;text-align: left;background-color:transparent;">
                        <#list resume.disireLst as disire>
                            <p>${disire.position} | <@enums.jobType disire.type/> | <@enums.salary disire.salary/> | ${disire.city}</p>
                            <p>预计到岗日期：${disire.intentDate}</p>
                        </#list>
                    </div>
                </td></tr>
            </tbody>
        </table>
        <table>
            <tbody>
                <tr class="line_box"><td class="line_box"> <div class="line"></div></td></tr>
                <tr><td>
                    <div class="box border_box" style="padding: 0;width:22%;height:auto;background-color:transparent ">
                        <div class="cell border_box redbigimg" style="font-size: 20px;color: #FA8072;">教育背景
                            <img src="${contextPath}/resources/img/public/template_georama.png" align="middle" />
                        </div>
                    </div>
                    <div class="box border_box top_border mar_top" style="width:78%;height:auto;padding: 0 2%;text-align: left;background-color:transparent;">
                        <#list resume.educationLst as education>
                            <div class="border_date_box" style="position:absolute;left:20px;">
                                <span style="display: inline-block;width:107px;">${education.duration}</span>
                                <img src="${contextPath}/resources/img/public/template_diamond.png" class="border_box_date"/>
                            </div>
                            <h2>${education.school} | ${education.major} | <@enums.degree education.degree/></h2>
                        </#list>
                    </div>
                </td></tr>
            </tbody>
        </table>
        <table>
            <tbody>
                <tr class="line_box"><td class="line_box"> <div class="line"></div></td></tr>
                <tr><td>
                    <div class="box border_box" style="padding:0;width:22%;height:auto;background-color:transparent ">
                        <div class="cell border_box redbigimg" style="font-size: 20px;color: #FA8072;">工作经历
                            <img src="${contextPath}/resources/img/public/template_georama.png" align="middle"/>
                        </div>
                    </div>
                        <div class="box border_box top_border mar_top" style="width:78%;;height:auto;padding: 0 2%;text-align: left;background-color:transparent;">
                            <#list resume.workExperienceLst as work>
                                <div class="border_date_box" style="position:absolute;left:20px;">
                                    <span style="display: inline-block;width:107px;">${work.duration}</span>
                                    <img src="${contextPath}/resources/img/public/template_diamond.png" class="border_box_date"/>
                                </div>
                                <h2>${work.duration} | ${work.position} | ${work.company}</h2>
                                <pre>${work.task}</pre>
                            </#list>
                        </div>
                </td></tr>
            </tbody>
        </table>
        <table>
            <tbody>
                <tr class="line_box"><td class="line_box"> <div class="line"></div></td></tr>
                <tr><td>
                        <div class="box border_box" style="padding:0;width:22%;height:auto;background-color:transparent ">
                            <div class="cell border_box redbigimg" style="font-size: 20px;color: #FA8072;">项目经验
                                <img src="${contextPath}/resources/img/public/template_georama.png" align="middle" />
                            </div>
                        </div>
                        <div class="box border_box top_border mar_top" style="width:78%;;height:auto;padding:0 2%;text-align: left;background-color:transparent;">
                            <#list resume.projectExperienceLst as project>
                                <div class="border_date_box" style="position:absolute;left:20px;">
                                    <span style="display: inline-block;width:107px;">${project.duration}</span>
                                    <img src="${contextPath}/resources/img/public/template_diamond.png" class="border_box_date"/>
                                </div>
                                <h2>${project.position} | ${project.proName}</h2>
                                <pre>${project.proDesc}</pre>
                            </#list>
                        </div>
                </td></tr>
            </tbody>
        </table>
        <table>
            <tbody>
                <tr class="line_box"><td class="line_box"> <div class="line"></div></td></tr>
                <tr><td>
                    <div class="box border_box" style="padding:0 0 5%;width:22%;height:auto;background-color:transparent ">
                        <div class="cell border_box redbigimg" style="font-size: 20px;color: #FA8072;">技能评价
                            <img src="${contextPath}/resources/img/public/template_georama.png" align="middle"/>
                        </div>
                    </div>
                    <div class="box border_box top_border" style="width:78%;;height:auto;padding: 2%;text-align: left;background-color:transparent;">
                        <#list resume.skillLst>
                            <#items as skill>
                                <li><strong>${skill.name}: </strong><@enums.level skill.level/></li>
                            </#items>
                        </#list>
                    </div>
                </td></tr>
            </tbody>
        </table>
        <table>
            <tbody>
                <tr class="line_box"><td class="line_box"> <div class="line"></div></td></tr>
                <tr><td>
                    <div class="box border_box" style="width:22%;padding:0 0 5%;height:auto;background-color:transparent ">
                        <div class="cell border_box redbigimg" style="font-size: 20px;color: #FA8072;">自我评价
                            <img src="http://www.sxsimg.com/static/img/resume/georama.png?v=38972538e711cd73ada53bc44cb1a953" align="middle" alt="空心圆" />
                        </div>
                    </div>
                    <div class="box border_box top_border" style="width:78%;;height:auto;padding: 2%;text-align: left;background-color:transparent;">
                        <#list resume.selfDescLst as self>
                            <pre>${self.content}</pre>
                        </#list>
                    </div>
                </td></tr>
            </tbody>
        </table>
        <div style="border:50px solid #f75a53;border-top-color:transparent;border-left-color:transparent;pwidth: 0;height:0;position: absolute;bottom: 0;right: 0"></div>
    </div>
</body>

</html>
